#include <stdio.h>
#include <windows.h>

int main()
{
    int i, j, *p[4];
    int a[12] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
    p[0] = &a[0];
    p[1] = &a[3];
    p[2] = &a[6];
    p[3] = &a[9];
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 3; j++)
        {
            printf("%4d", p[i][j]);
            printf("\n");
        }
    }
    system("pause");
}